package com.lshl.lingshang.http.manager;


import com.lshl.lingshang.http.WAPI;
import com.lshl.lingshang.http.requestbean.BaseResponseBean;
import com.lshl.lingshang.ui.bean.BannerBean;
import com.lshl.lingshang.ui.request.CommonRequestBean;

import java.util.function.DoubleUnaryOperator;

import io.reactivex.Observable;
import retrofit2.http.Body;
import retrofit2.http.POST;

/**
 * Description：管理请求接口
 * Created on 2018/7/3
 * Author : 郭
 */
public interface ApiManager<T> {

//    /**
//     * 上传文件
//     *
//     * @param params
//     * @return
//     */
//    @Multipart
//    @POST(WAPI.URL_UPLOAD_FILE)
//    @Streaming
//    Observable<BaseResponseBean<UpLoadResponseBean>> requestUpLoad(@PartMap Map<String, RequestBody> params);
//
//
    //请求开屏图
    @POST(WAPI.URL_START_UP_SCREEN)
    Observable<BaseResponseBean<BannerBean>> requsetStartUpScreen(@Body CommonRequestBean body);



}
